<?php
/**
 * Created by PhpStorm.
 * User: lzhy@lzhy.me
 * Date: 2019/4/12 0012
 * Time: 13:54
 */
namespace app\admin\controller;

use think\Db;
use think\facade\App;

class Index extends Base
{
    public function index()
    {
        $this->assign([
            'mysql' => Db::query('select VERSION()')[0]['VERSION()'],
            'tp_version' => App::version()
        ]);
        return view();
    }
}